package com.oitsm.plugin.entity;

import net.sf.json.JSONObject;

/**
 * 元标签
 * @author Arab Runner
 * Jul 24, 2011 3:35:22 PMs
 */
public class Meta {
	private String name;
	private String label;
	private String type;
	private String value;
	
	public Meta(){}

	public Meta(String name, String label, String type, String value) {
		super();
		this.name = name;
		this.label = label;
		this.type = type;
		this.value = value;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}
	
	@Override
	public String toString(){
		return JSONObject.fromObject(this).toString();
	}
}
